package cvc.sync;

public class Renderer implements Runnable{

	@Override
	public void run() {

		while (true) {

			Holder<Integer> currImage = new Holder<Integer>();
			Holder<Integer> matrix = new Holder<Integer>();
			Main.capturer.getImage(currImage);
			Main.improc.getMatrix(matrix);
			System.out.println("Renderer - " + " cap:" + currImage.value + " imp:"
					+ matrix.value);
			try{
				Thread.sleep(1000);
			}catch (InterruptedException e) {
				// TODO: handle exception
			}
		}

	}

}
